package com.pine.manager.core;

import cn.hutool.core.text.StrPool;

/**
 * 字符串常量
 *
 * @author pine manage
 */
public interface StringPool extends StrPool {

    /**
     * sa-token
     */
    String SA_TOKEN = "satoken";

    String AUTHORIZATION = "Authorization";


    String ROLE_ID = "roleId";

    /**
     * logId
     */
    String LOG_ID = "logId";

    /**
     * 空字符串
     */
    String EMPTY_STR = "";

    String TOKEN_PREFIX = "Bearer ";

    /**
     * 脱敏字段值在json中的code, 对应数据库中的字典code
     */
    String DESENSITIZED_FIELD_VALUE_IN_JSON_DICT_CODE = "desensitized_field_value_in_json";

    /**
     * 动态线程池配置字典code
     */
    String DYNAMIC_THREAD_POOL_CONFIG_DICT_CODE = "dynamic_thread_pool_config";

    /**
     * 系统配置表的默认密码key
     */
    String SYS_CONFIG_DEFAULT_PASSWORD = "sys_config_default_password";

    /**
     * 验证码开关，是否强制校验验证码</br>
     * 开关不存在时，默认为开启
     */
    String SYS_CONFIG_VALID_CAPTCHA_CODE_FOR_USER_SWITCH = "sys_config_valid_captcha_code_for_user_switch";

}
